package cn.trigram.exception;

public enum ExceptionCode {
  /**
   *
   */
  ASSERT("断言异常",-304),
  GENERAL("通用异常",-1),
  FILE_OPERATION("文件操作异常",-3),
  ;

  private String remark;
  private Integer code;

  ExceptionCode(String remark, Integer code) {

    this.remark = remark;
    this.code = code;
  }

  public Integer getCode() {

    return code;
  }
}
